#!/bin/bash
# Shell 连接 MySQL, 更新表数据: 
# `kkyoo_rank`.`vote_day_statistic`, `kkyoo_rank`.`vote_day_statistic_total` 
connmsg=`mysql -ukkyooAdmin -p'kkyooQWE!@#' -h192.168.1.151 <<EOF
  use kkyoo_rank;
  call kkyoo_rank.ext_makeVoteDayStatTotal();
  call kkyoo_rank.ext_makeVoteDayStat();
  exit
EOF`
echo over:"$connmsg"

